
package petrivis.model;

import prefuse.data.Table;

/**
 * Represents the Arcs of the Petri Net
 * @author Jorge Munoz
 */
public class Arcs extends Table{

    /**
     * Creates a new structure for the Arcs of the Petri Net
     */
    public Arcs(){
        //Create a empy Table
        super();

        //Add the columns for each field of the Arcs
        addColumn(PetriNet.NAME_COL, String.class);
        addColumn(PetriNet.WEIGHT_COL, Integer.class);
        addColumn(PetriNet.SOURCE_COL, int.class);
        addColumn(PetriNet.TARGET_COL, int.class);
    }

}
